﻿using System.Windows.Controls;
using Mammoth.Factories;

namespace Mammoth.Views.Account
{
    /// <summary>
    /// Interaction logic for GTalkView.xaml
    /// </summary>
    public partial class AccountMainView : UserControl
    {
        public AccountMainView(ITypeFactory viewFactory)
        {
            InitializeComponent();

            AccountContainer.Children.Add(viewFactory.Create<AccountList>());
            BuddyContainer.Children.Add(viewFactory.Create<BuddyList>());
        }
    }
}
